﻿using Admin2024.Application.Contracts.User.Dto;
using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Application.Contracts.User
{
    public interface IUserInfoService
    {
        //修改用户信息
        Task<DomainResult<AppUserDto>> UpdateUserProfile(Guid Id, UserUpdateDto appUser);
        //获取所有用户(分页)
        Task<DomainResult<List<AppUserDto>>> GetUsersWithPagination(int page, int pageSize);
        //获取指定用户
        Task<DomainResult<AppUserDto>> GetUserById(Guid Id);
        //根据token 获取用户信息
        Task<DomainResult<UserInfoDto>> GetUserInfo(string token);
    }
}
